package com.luocc.ccdemo.ui

import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.luocc.ccdemo.R
import com.luocc.ccdemo.entity.Blog


class BlogDetailsFragment : Fragment() {

    private var mBlog: Blog? = null

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        mBlog = arguments?.getParcelable("blog")
    }

    override fun onCreateView(
        inflater: LayoutInflater, container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        val parent = inflater.inflate(R.layout.fragment_blog_details, container, false)

        return parent
    }

    companion object {
        private const val TAG = "LC_BlogDetailsFragment"
    }
}